package com.squirrel.michale.node;

/**
 * @author guanhao 观浩
 * @version 1.0.0.0
 * @createTime 2023/1/19 8:39 PM
 * @company Michale Squirrel
 * @link
 * @description
 *
 * 反转单链表
 *
 * 反转双链表
 */
public class Code01_Node {


    public static class Node {
        public int value;
        public Node next;

        public Node(int data) {
            value = data;
        }
    }

    public static class DoubleNode {
        public int value;
        public DoubleNode last;
        public DoubleNode next;

        public DoubleNode(int data) {
            value = data;
        }
    }


}
